package Questions;

import TestApp.IOSystem;

/**
 * @author Myhaylo Kotsyuruba
 * @version v.1.4   14.03.13
 */

public abstract class Question implements Estimator {
    private String text;
    private String help;
    private int maxScore;

    public Question (String text, int maxScore, String help) {
        this.maxScore = maxScore;
        this.text = text;
        this.help = help;
    }

    public String getHelp() {
        return help;
    }


    @Override
    public String toString() {
        return IOSystem.formatString(text);
    }

    @Override
    public int getMaxScore() {
        return maxScore;
    }
}
